[INFO] cloning repository https://github.com/MathisBurger/PaintShare
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MathisBurger/PaintShare" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathisBurger%2FPaintShare", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathisBurger%2FPaintShare'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ecdcebb56d8795a11d12e36513555fad81c33a4c
[INFO] testing MathisBurger/PaintShare against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathisBurger%2FPaintShare" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/MathisBurger/PaintShare on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/MathisBurger/PaintShare
[INFO] finished tweaking git repo https://github.com/MathisBurger/PaintShare
[INFO] tweaked toml for git repo https://github.com/MathisBurger/PaintShare written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/MathisBurger/PaintShare already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded jwt v0.13.0
[INFO] [stderr]   Downloaded zeroize_derive v1.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6a8e269659a54a3fe66f1bf71c0aa3b48e1ed9ce3a5c65822b99e918936e89b1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6a8e269659a54a3fe66f1bf71c0aa3b48e1ed9ce3a5c65822b99e918936e89b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a8e269659a54a3fe66f1bf71c0aa3b48e1ed9ce3a5c65822b99e918936e89b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a8e269659a54a3fe66f1bf71c0aa3b48e1ed9ce3a5c65822b99e918936e89b1", kill_on_drop: false }`
[INFO] [stdout] 6a8e269659a54a3fe66f1bf71c0aa3b48e1ed9ce3a5c65822b99e918936e89b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 187abc199cd937cdfdcab4a2a86c3e1695a86af41031b70866c5a1bec6c2d073
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "187abc199cd937cdfdcab4a2a86c3e1695a86af41031b70866c5a1bec6c2d073", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling syn v1.0.69
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling futures-core v0.3.14
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling futures-sink v0.3.14
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling pin-project-lite v0.2.6
[INFO] [stderr]    Compiling futures-io v0.3.14
[INFO] [stderr]    Compiling futures-task v0.3.14
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling pin-project-internal v0.4.28
[INFO] [stderr]    Compiling ahash v0.4.7
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling async-trait v0.1.48
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling const_fn v0.4.6
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling radium v0.5.3
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling httparse v1.3.6
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling subtle v2.4.0
[INFO] [stderr]    Compiling encoding_rs v0.8.28
[INFO] [stderr]    Compiling lexical-core v0.7.5
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling funty v1.1.0
[INFO] [stderr]    Compiling ucd-trie v0.1.3
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling build_const v0.2.1
[INFO] [stderr]    Compiling wyz v0.2.0
[INFO] [stderr]    Compiling whoami v1.1.2
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling v_escape v0.15.0
[INFO] [stderr]    Compiling v_htmlescape v0.12.0
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling buf-min v0.4.0
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling lock_api v0.4.3
[INFO] [stderr]    Compiling futures-channel v0.3.14
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling crossbeam-utils v0.8.3
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-bigint v0.3.2
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling time v0.2.26
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]    Compiling nom v6.1.2
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling ahash v0.6.3
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling num-bigint-dig v0.6.1
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling http v0.2.4
[INFO] [stderr]    Compiling bytestring v1.0.0
[INFO] [stderr]    Compiling pest v2.1.3
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling tracing-core v0.1.17
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling libsqlite3-sys v0.20.1
[INFO] [stderr]    Compiling libsodium-sys v0.2.6
[INFO] [stderr]    Compiling idna v0.2.2
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling hashlink v0.6.0
[INFO] [stderr]    Compiling tracing v0.1.25
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling regex v1.4.5
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling bitvec v0.19.5
[INFO] [stderr]    Compiling semver-parser v0.10.2
[INFO] [stderr]    Compiling url v2.2.1
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.1
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling flate2 v1.0.20
[INFO] [stderr]    Compiling atoi v0.4.0
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling pem v0.8.3
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.10.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling sha-1 v0.9.4
[INFO] [stderr]    Compiling sha2 v0.9.3
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling simple_asn1 v0.4.1
[INFO] [stderr]    Compiling webpki-roots v0.21.1
[INFO] [stderr]    Compiling rustls v0.18.1
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling sqlformat v0.1.6
[INFO] [stderr]    Compiling futures-macro v0.3.14
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling derive_more v0.99.13
[INFO] [stderr]    Compiling actix-macros v0.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling pin-project-internal v1.0.6
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling zeroize_derive v1.0.1
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0
[INFO] [stderr]    Compiling v_escape_derive v0.8.4
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.14
[INFO] [stderr]    Compiling zeroize v1.2.0
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]    Compiling pin-project v1.0.6
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling pin-project v0.4.28
[INFO] [stderr]    Compiling futures-executor v0.3.14
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling futures v0.3.14
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling trust-dns-proto v0.19.7
[INFO] [stderr]    Compiling tokio-rustls v0.14.1
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling actix-codec v0.3.0
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling sqlx-rt v0.2.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.7
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling cargo-platform v0.1.1
[INFO] [stderr]    Compiling actix-router v0.2.7
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling actix-utils v2.0.0
[INFO] [stderr]    Compiling actix-connect v2.0.0
[INFO] [stderr]    Compiling actix-server v1.0.4
[INFO] [stderr]    Compiling actix-tls v2.0.0
[INFO] [stderr]    Compiling actix-http v2.2.0
[INFO] [stderr]    Compiling cargo_metadata v0.12.3
[INFO] [stderr]    Compiling jwt v0.13.0
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling rsa v0.3.0
[INFO] [stderr]    Compiling sqlx-core v0.4.2
[INFO] [stderr]    Compiling awc v2.0.3
[INFO] [stderr]    Compiling actix-web v3.3.2
[INFO] [stderr]    Compiling actix-cors v0.5.4
[INFO] [stderr]    Compiling actix-files v0.5.0
[INFO] [stderr]    Compiling sqlx-macros v0.4.2
[INFO] [stderr]    Compiling sqlx v0.4.2
[INFO] [stderr]    Compiling sodiumoxide v0.2.6
[INFO] [stderr]    Compiling PaintShare v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros
[INFO] [stdout]   --> src/database/installation/create_user_table.rs:9:16
[INFO] [stdout]    |
[INFO] [stdout] 9  |       let resp = query!("CREATE TABLE `user_accounts` (
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 10 | |     `user_id` INT NOT NULL AUTO_INCREMENT,
[INFO] [stdout] 11 | |     `displayname` TEXT NOT NULL,
[INFO] [stdout] 12 | |     `email` TEXT NOT NULL,
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |     PRIMARY KEY(`user_id`)
[INFO] [stdout] 19 | |     );").execute(conn).await;
[INFO] [stdout]    | |________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros
[INFO] [stdout]   --> src/database/installation/create_token_table.rs:8:16
[INFO] [stdout]    |
[INFO] [stdout] 8  |       let resp = query!("CREATE TABLE `refresh_token` (
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 9  | |     `id` INT NOT NULL AUTO_INCREMENT,
[INFO] [stdout] 10 | |     `username` TEXT NOT NULL , `token` TEXT NOT NULL,
[INFO] [stdout] 11 | |     `deadline` DATETIME NOT NULL,
[INFO] [stdout] 12 | |     PRIMARY KEY (`ID`)
[INFO] [stdout] 13 | |     );").execute(conn).await;
[INFO] [stdout]    | |________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros
[INFO] [stdout]   --> src/database/register.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |       let status = query!("INSERT INTO `user_accounts` (
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 14 | |     `user_id`,
[INFO] [stdout] 15 | |     `displayname`,
[INFO] [stdout] 16 | |     `email`,
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |      unix
[INFO] [stdout] 28 | |     ).execute(conn).await;
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros
[INFO] [stdout]   --> src/database/models/user.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let user: Vec<User> = query_as!(User, "SELECT * FROM `user_accounts` WHERE `displayname`=?", self.displayname)
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros
[INFO] [stdout]   --> src/database/models/user.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let user: User = query_as!(User, "SELECT * FROM `user_accounts` WHERE `displayname`=?", self.displayname)
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros
[INFO] [stdout]   --> src/database/models/user.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         query_as!(User, "SELECT * FROM `user_accounts` WHERE `displayname`=?", username)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros
[INFO] [stdout]   --> src/database/models/user.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         query_as!(User, "SELECT * FROM `user_accounts` WHERE `user_id`=?", id)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros
[INFO] [stdout]   --> src/database/models/refresh_token.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | /         query!("INSERT INTO `refresh_token` (`id`, `username`, `token`, `deadline`) VALUES (NULL, ?, ?, ?);",
[INFO] [stdout] 51 | |             &usr.displayname, &token, &deadline
[INFO] [stdout] 52 | |         ).execute(conn).await.unwrap();
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros
[INFO] [stdout]   --> src/database/models/refresh_token.rs:66:40
[INFO] [stdout]    |
[INFO] [stdout] 66 |   ...   let token: Vec<RefreshToken> = query_as!(RefreshToken, "SELECT * FROM `refresh_token` WHERE `username`=? AND `token`=? AND `deadlin...
[INFO] [stdout]    |  ______________________________________^
[INFO] [stdout] 67 | | ...       &self.username, &self.token, &self.deadline
[INFO] [stdout] 68 | | ...   ).fetch_all(conn).await.unwrap();
[INFO] [stdout]    | |_______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[macro_use] extern crate log;
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `query_as`
[INFO] [stdout]  --> src/database/register.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sqlx::{Pool, query_as};
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `query`
[INFO] [stdout]  --> src/database/models/user.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sqlx::{Pool, MySql, query, query_as, Error};
[INFO] [stdout]   |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/database/models/refresh_token.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{NaiveDateTime, Utc};
[INFO] [stdout]   |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::Ref`
[INFO] [stdout]  --> src/database/models/refresh_token.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::cell::Ref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout]  --> src/utils/hashing.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::time::Instant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpRequest`
[INFO] [stdout]  --> src/endpoints/register_endpoint.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, Responder, HttpRequest};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpRequest`
[INFO] [stdout]  --> src/endpoints/auth/login_endpoint.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, Responder, HttpRequest, cookie::Cookie};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/endpoints/auth/login_endpoint.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UNIX_EPOCH`
[INFO] [stdout]  --> src/endpoints/auth/login_endpoint.rs:8:29
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpMessage`, `HttpRequest`, `cookie::Cookie`
[INFO] [stdout]  --> src/endpoints/auth/get_accesstoken_endpoint.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, Responder, HttpRequest, cookie::Cookie, HttpMessage};
[INFO] [stdout]   |                                 ^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpMessage`, `HttpResponse`, `cookie::Cookie`
[INFO] [stdout]  --> src/endpoints/auth/me_endpoint.rs:1:46
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, Responder, HttpRequest, cookie::Cookie, HttpMessage, HttpResponse};
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::jwt::verify`
[INFO] [stdout]  --> src/endpoints/auth/me_endpoint.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::jwt::verify;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH`
[INFO] [stdout]  --> src/endpoints/auth/me_endpoint.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/endpoints/user/profile_picture_endpoint.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::database::models::user`
[INFO] [stdout]  --> src/endpoints/user/profile_picture_endpoint.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::database::models::user;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::jwt::verify`
[INFO] [stdout]  --> src/endpoints/user/profile_picture_endpoint.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::jwt::verify;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::HttpRequest`
[INFO] [stdout]  --> src/jwt/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::HttpRequest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeMap`
[INFO] [stdout]  --> src/jwt/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::BTreeMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::HttpRequest`
[INFO] [stdout]  --> src/jwt/verify.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::HttpRequest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `PaintShare`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "187abc199cd937cdfdcab4a2a86c3e1695a86af41031b70866c5a1bec6c2d073", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "187abc199cd937cdfdcab4a2a86c3e1695a86af41031b70866c5a1bec6c2d073", kill_on_drop: false }`
[INFO] [stdout] 187abc199cd937cdfdcab4a2a86c3e1695a86af41031b70866c5a1bec6c2d073
